package com.ruanjian.api.main;

import com.ruanjian.api.utils.DateUtil;

import java.text.NumberFormat;
import java.util.Date;

/**
 * @author shkstart
 * @create 2022-11-21 20:14
 */
public class test {

    public static void main(String[] args) {
        //年份-1900, 月份-1
//        Date date = new Date(122,10,21,20,52,20);
//        String datePoor = DateUtil.getDatePoor(DateUtil.getNowDate(),date);
//        System.out.println(datePoor);
        System.out.println(DateUtil.getNowDate().getTime());
//        double d = 10.2345;
//        double q = 10.5668;
//        NumberFormat numberFormat = NumberFormat.getInstance();
//        numberFormat.setMaximumFractionDigits(0);
//        String format = numberFormat.format(q);
//        System.out.println(format);

    }

}
